package org.song.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@ApiModel("爬虫博客")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class crawledBlog {

    @ApiModelProperty( value = "主键" , notes = "主键")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    @ApiModelProperty(value = "博客Id" , notes = "博客Id")
    private Long blogId;

    @ApiModelProperty(value = "标题" , notes = "标题")
    private String title;

    @ApiModelProperty(value = "昵称" , notes = "昵称")
    private String nickname;

    @ApiModelProperty(value = "内容" , notes = "内容")
    private String content;

    @ApiModelProperty(value = "创建时间" , notes = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "首图" , notes = "首图")
    private String firstPicture;

    @ApiModelProperty(value = "头像" , notes = "头像")
    private String avatar;

    @ApiModelProperty(value = "插入时间" , notes = "插入时间")
    private Date insertTime;

    @ApiModelProperty(value = "描述" , notes = "描述")
    private String description;

    @ApiModelProperty(value = "浏览量" , notes = "浏览量")
    private Integer view;

    @ApiModelProperty(value = "thumbs" , notes = "thumbs")
    private Integer thumbs;

}
